package top.sqdpt.file.strategy;

import top.sqdpt.file.entity.dto.FileUpload;
import top.sqdpt.file.enums.FileStorageType;

import java.io.IOException;

public interface FileStorageStrategy {

    FileStorageType getFileStorageType();

    String saveFile(FileUpload fileUpload) throws IOException;
    String saveFile(String text) throws IOException;
}
